Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development
Interaction of the CacheDuration and Shared properties
The most likely use case will be setting both of the properties. When the CacheDuration property is not equal to zero and the Shared property is true, then cache data is shared, but the cache is not cleared when the last instance of an SDO is closed. The cache data will be available when the next instance of the SDO runs.
Normally, with Dynamic SDOs, you would expect both properties to be set. There might be a case for setting CacheDuration and setting Shared to false. It is conceivable that data values might vary due to differences in instances, for example, if a calculated field expression includes external instance data. This is also the only valid cache mode for cases where the static proxy is running on the client, or in sessions with database connections with the full static SDO running on the client.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |